package com.shushan.pages.bean;

import com.android.net.bean.NetBaseBean;

import org.json.JSONException;
import org.json.JSONObject;

/**
 * @ClassName: OppoPayBean
 * @Desciption: //TODO
 * @author: yichaohua
 * @date: 2018-12-25
 */
public class OppoPayBean extends NetBaseBean {

    public String order;
    public int amount;
    public String attach;
    public String productName;
    public String productDesc;
    public String callbackUrl;

    @Override
    public void initByJson(JSONObject jsonObject) throws JSONException {
        order = jsonObject.optString("order","");
        amount = jsonObject.optInt("amount",0);
        attach = jsonObject.optString("attach","");
        productName = jsonObject.optString("productName","");
        productDesc = jsonObject.optString("productDesc","");
        callbackUrl = jsonObject.optString("callbackUrl","");
    }
}
